﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uc_Register.ascx.cs" Inherits="BatDongSan.Modules.Uc_Register" %>
<style>
    .widthtxt
    {
        width:423px;
        height:20px;
    }
</style>
<div>
    <div style="background-color:#B0E5F7; padding:20px; width:600px;">
        <div style="width:100%; font-weight:bold; padding:10px 0;" align="center">
            ĐĂNG KÝ THÀNH VIÊN
        </div>
        <div style="background-color:#FFFFFF; padding:10px;">
            <div>
                <asp:Label ID="lbStatus" runat="server" ForeColor="Red"></asp:Label>
            </div>
            <table border="0" cellpadding="0" cellspacing="10">
                <tr>
                    <td align="right">
                        Email(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Tên đầy đủ(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtFullName" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Bí danh:
                    </td>
                    <td>
                        <asp:TextBox ID="txtAlias" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Mật khẩu(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtPass" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Nhập lại mật khẩu(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtPassConfirm" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Khu vực sống:
                    </td>
                    <td>
                
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="txtAddress" runat="server" Height="20"></asp:TextBox>&nbsp;
                                <asp:DropDownList ID="ddlProvince" runat="server"  AutoPostBack="true" OnSelectedIndexChanged="ddlProvince_SelectedIndexChanged" Width="130">
                                </asp:DropDownList>&nbsp;
                                <asp:DropDownList ID="ddlWard" runat="server" Width="130">
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Điện thoại cố định:
                    </td>
                    <td>
                        <asp:TextBox ID="txtTelephone" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Điện thoại di động(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtMobiphone" runat="server" CssClass="widthtxt"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Loại thành viên(<span style="color:Red;">*</span>):
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlMemberType" runat="server">
                            <asp:ListItem Value="1">Cá nhân</asp:ListItem>
                            <asp:ListItem Value="2">Nhà môi giới</asp:ListItem>
                            <asp:ListItem Value="3">Công ty môi giới</asp:ListItem>
                            <asp:ListItem Value="4">Doanh nghiệp</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
    
            <div style="width:100%;" align="center">
                <asp:Button ID="btRegister" runat="server" Text="Đăng ký" CssClass="boxsearch" 
                    onclick="btRegister_Click" />
            </div>
        </div>
    </div>
</div>